package application.model;

import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import java.util.ArrayList;
import java.util.List;

@XmlRootElement(name = "chemical_compositions")
public class ChemicalCompositionsModel
{
    private List<ChemicalCompositionModel> chemicalCompositions = new ArrayList<ChemicalCompositionModel>();

    @XmlElement(name = "chemical_element")
    public List<ChemicalCompositionModel> getChemicalCompositions()
    {
        return chemicalCompositions;
    }

    public void setChemicalCompositions(List<ChemicalCompositionModel> chemicalCompositions)
    {
        this.chemicalCompositions = chemicalCompositions;
    }
}
